﻿using System;
using TencentCloud.Common.Profile;

namespace txcloud.sdk.Core
{
    public class TxProfile
    {
        internal string Endpoint { get; set; }
        public TxProfile(string endpoint)
        {
            Endpoint = endpoint;
        }

        internal ClientProfile Get()
        {
            // 实例化一个client选项，可选的，没有特殊需求可以跳过
            ClientProfile clientProfile = new ClientProfile();
            // 实例化一个http选项，可选的，没有特殊需求可以跳过
            HttpProfile httpProfile = new HttpProfile();
            httpProfile.Endpoint = (Endpoint);
            clientProfile.HttpProfile = httpProfile;

            return clientProfile;
        }
    }
}
